﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

/// <summary>
/// 位置区域
/// </summary>
[Table("QHSE_XY_LOCATION")]
public class QHSESysLocation : EntityBase
{
    public QHSESysLocation()
    {
    }

    /// <summary>
    /// ID
    /// </summary>
    [Column("LOCATION_ID")]
    [MaxLength(32)]
    [Key]
    public string Id { get; set; }


    /// <summary>
    /// 作业专业编码
    /// </summary>
    [Column("SPECIALTY_CODE")]
    [MaxLength(100)]
    public string? SpecialtyCode { get; set; }
    /// <summary>
    /// 作业类型编码
    /// </summary>
    [Column("LOCATION_CODE")]
    [MaxLength(100)]
    public string? LocationCode { get; set; }
    /// <summary>
    /// 作业类型
    /// </summary>
    [Column("LOCATION")]
    [MaxLength(100)]
    public string? Location { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }
    /// <summary>
    /// 排序号
    /// </summary>
    [Column("ORDER_NO")]
    public int? OrderNo { get; set; }
}
